import pandas as pd

# 文本格式的数据
# table = pd.read_csv('files/lj_data.csv')

# 默认读取前5行
# data = table.head()
# print(data)

# 范围索引
# data = table.index
# print(data)      # 打印的结果: RangeIndex(start=0, stop=2760, step=1)

# excel数据
# table = pd.read_excel('files/sales.xlsx')
# print(table.head())